@import './iconfont.css';
@import './vars.scss';

html,
body {
    width: 100%;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

#app {
    height: 100%;
}

.view {
    width: 100%;
    height: 100%;
    &-head {
        width: 100%;
    }
    &-main {
        width: 100%;
        height: 100%;
    }
    &-foot {
    }
}

.float {
    &-r {
        float: right;
    }
    &-l {
        float: left;
    }
}

.shadow-border {
    border-bottom: 1px solid $border-color-grey;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
}

.ant-tabs-bar {
    border-bottom: none;
}

@for $i from 1 through 12 {
    .f-#{$i * 2 + 10} {
        font-size: $i * 2 + 10px;
    }
    .mt-#{$i * 4} {
        margin-top: $i * 4px;
    }
    .w-#{$i} {
        width: $i / 12 * 100%;
    }
}

.text-blue {
    color: $text-color-blue;
}

.align {
  &-left {
    text-align: left;
  }
  &-center {
    text-align: center;
  }
  &-right {
    text-align: right;
  }
}

img {
  vertical-align: middle;
}
